﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Common
/// <summary>
/// 版 本 钢易智企2.0 V 2.0.0 钢易智企2.0
/// Copyright (c) 2023 杭州钢易科技有限公司
/// 创建人：曾东明
/// 日 期：2024
/// 描 述：
/// </summary>
{
	public class PageMessage<TData>:BaseMessage
	{
		/// <summary>
		/// 
		/// </summary>
		/// <param name="data"></param>
		/// <param name="message"></param>
		/// <param name="code"></param>
		public PageMessage(List<TData> data,string message,int code) :base(message,code) 
		{
			this.Data = data;
		}
		/// <summary>
		/// 
		/// </summary>
		/// <param name="data"></param>
		public PageMessage(List<TData> data):base()
		{
			this.Data = data;
		}

		public PageMessage(List<TData> data,int code) : base(code)
		{
			this.Data = data;
		}


		/// <summary>
		/// 
		/// </summary>
		public List<TData> Data { get; set; }
    }
}
